package com.xushu.extensions.create.beanpostprocessor;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor;
import org.springframework.stereotype.Component;

/**
 * @author leimingchao
 * create 2025-05-18 17:51
 */
@Component
public class My9DestructionAwareBeanPostProcessor implements DestructionAwareBeanPostProcessor {
	@Override
	public void postProcessBeforeDestruction(Object bean, String beanName) throws BeansException {

		System.out.println("9." + beanName + "销毁");
	}


}
